cmake_minimum_required(VERSION 3.5)

#工程名
project(hello_headers)

# 创建一个变量，名字叫SOURCES。它包含了所有的c文件
set(SOURCES src/Hello.c src/main.c)

add_executable(hello_headers ${SOURCES})


target_include_directories(hello_headers PRIVATE ${PROJECT_SOURCE_DIR}/include)

message(${PROJECT_SOURCE_DIR})